Event-driven Programming can be Simple Enough for CS 1

نویسندگان

  • Kim B. Bruce
  • Andrea P. Danyluk
  • Thomas P. Murtagh
چکیده

We have recently designed a CS 1 course that integrates event-driven programming from the very start. Our experience teaching this course runs counter to the prevailing sense that these techniques would add complexity to the content of CS 1. Instead, we found that they were simple to present and that they also simplified the presentation of other material in the course. In this paper, we explain the approach we used to introduce event-driven methods and discuss the factors underlying our success.

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

First Programming in App Inventor

1 EVENTS-FIRST PROGRAMMING IN APP INVENTOR Franklyn Turbak Mark Sherman and Fred Martin Computer Science Department Department of Computer Science Wellesley College University of Massachusetts Lowell [email protected] {msherman, fredm}@cs.uml.edu David Wolber Shaileen Crawford Pokress Computer Science Department MIT Media Lab University of San Francisco Massachusetts Institute of Technolo...

متن کامل

Event-driven and Attribute-driven Robustness

Over five decades have passed since the first wave of robust optimization studies conducted by Soyster and Falk. It is outstanding that real-life applications of robust optimization are still swept aside; there is much more potential for investigating the exact nature of uncertainties to obtain intelligent robust models. For this purpose, in this study, we investigate a more refined description...

متن کامل

A Library to Support a Graphics - BasedObject - First Approach to CS 1 Kim B . Bruce

In this paper we describe a library we have developed that supports an \OO-from-the-beginning" approach to CS 1. The design of interactive graphical programs helps students to both use objects and write methods early while designing and implementing interesting programs. The use of real graphics \objects" and event-driven programming are important components of this approach.

متن کامل

Declarative Events for Object-Oriented Programming

In object-oriented designs inversion of control is achieved by an event-driven programming style based on imperatively triggered events. An alternative approach can be found in aspect-oriented programming, which de nes events as declarative queries over implicitly available events. This helps to localize de nition of events and avoid preplanning, but lacks a clean integration with object-orient...

متن کامل

Testing and Debugging Concurrency Bugs in Event-Driven Programs

Event-driven programs are prone to concurrency bugs due their inherent nature of handling asynchronous events. Asynchronous events introduce logical concurrency into these programs making them hard to be thoroughly tested and debugged. However, understanding the root causes and characteristics of concurrency bugs can ease the debugging process and help developers to avoid introducing them. Unfo...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2001